
public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		if( args.length != 3 ){
			System.out.println("-d path_to_decode path_to_save");
			System.out.println("-e path_to_encode path_to_save");
		}
		
		switch (args[0]) {
		case "-d":
			Decoder dec = new Decoder();
			dec.decodeFile(args[1], args[2]);
			System.out.println("Decoded Successfully");
			break;
		case "-e":
			Encoder enc = new Encoder();
			enc.encodeFile(args[1], args[2]);
			System.out.println("Encoded Successfully");
			break;
		}
	}
}
